package org.dylan.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 
 * @Author Dylan
 * @Project shpam
 * @Version V1.0
 * @Date 2011-6-14 上午11:09:09
 */
@MappedSuperclass
public abstract class AbstractAuditableUUIDEntity extends AbstractUUIDEntity implements
		Auditable {

	private static final long serialVersionUID = 9145788794777216942L;
	@Column(name = "CREATE_USER", updatable = false,length=50)
	private String createUser;
	@Column(name = "CREATE_TIME", updatable = false)
	private Date createTime;
	@Column(name = "UPDATE_USER", insertable = false,length=50)
	private String updateUser;
	@Column(name = "UPDATE_TIME", insertable = false)
	private Date updateTime;

	/**
	 * @return the createUser
	 */
	public String getCreateUser() {
		return createUser;
	}

	/**
	 * @param createUser
	 *            the createUser to set
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the updateUser
	 */
	public String getUpdateUser() {
		return updateUser;
	}

	/**
	 * @param updateUser
	 *            the updateUser to set
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 *            the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
